<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<title>后盾招聘企业基本信息-教学项目</title>
	<link rel="stylesheet" type="text/css" href="__STATIC__/Css/member-common-left.css">
	<link rel="stylesheet" type="text/css" href="__STATIC__/Css/company-issue.css">
	<hdjs/>
	<script type="text/javascript">
		/**
	 * [已发布的职位,点击职位名称动作，要选中下面所有的职位]
	 * @return {[type]} [description]
	 */
	$(function(){
		//标记变量，默认为1
		var flag = 1;
		$('.full').click(function(){
			//如果是1 就选中，
			if(flag){
				$('.id_input').attr('checked',true);
				flag = 0;
				return;
			}
			//否则取消选择
			$('.id_input').attr('checked',false);
			flag = 1;
		})
	})
	</script>
	<style type="text/css">
		.page a{
			background: none repeat scroll 0 0 transparent;
			border: 1px solid #CCC;
			display: block;
			float: left;
			font-size: 12px;
			font-weight: 400;
			height: 23px;
			line-height: 23px;
			margin-right: 5px;
			padding-left: 5px;
			padding-right: 5px;
			text-align: center;
			width: auto;
		}
	</style>
<include file='__STATIC__/head.html'/>
<include file='__STATIC__/menu.html'/>
<include file='__STATIC__/left.html'/>
		<!-- 右边盒子开始 -->
		<div class="right_box">
			<div class="title_box">
				<h1>已发布的职位</h1>
			</div>
			<div class="tab_box">
				<a href="{|U:'check_pos'}" <if value="empty($_GET['state'])">class="select"</if>>所有职位</a>
				<a href="{|U:'check_pos', array('state'=>2)}" <if value="$hd.get.state eq 2">class="select"</if>>审核通过的</a>
				<a href="{|U:'check_pos', array('state'=>1)}" <if value="$hd.get.state eq 1">class="select"</if>>审核中的</a>
				<a href="{|U:'check_pos', array('state'=>3)}" <if value="$hd.get.state eq 3">class="select"</if>>审核未通过的</a>
			</div>
			<!-- 简历名称盒子 -->
			<form action="" method="post">
				<table>
					<tr class="border_none">
						<td class="h_26">
							<label>
								<input type="checkbox" class="full">
								职位名称
							</label>
						</td>
						<td class="w_80">审核状态</td>
						<td class="w_80">职位状态</td>
						<td class="w_150">有效时间</td>
						<td class="w_50">点击</td>
						<td class="w_50">编辑</td>
					</tr>
				<if value="!$pos">
					<tr class="us_list">
						<td colspan="10">没有已发布简历</td>
					</tr>
				<else>
					<foreach from="$pos" key='$k' value="$v">
						<tr class="font">
							<td class="h_26">
								<label class="blue">
									<input type="checkbox" value="{$v.cpid}" class="id_input" name="cpid[]"/>
									<a href="{|U:'Category/Invite/pos_show', array('cpid'=>$v['cpid'])}" target="_blank">{$v.positionname}</a>
								</label>
							</td>

							<td class="w_80 red">{$v.verifystate}</td>
							<td class="w_80">{$v.showstate}</td>
							<td class="w_150">{$v.totime}</td>
							<td class="w_50">{$v.click}</td>
							<td class="w_50"><a href="{|U:'edit_pos', array('cpid'=>$v['cpid'])}">修改</a></td>
						</tr>
					</foreach>

					<tr class="us_list">
		 				<td colspan="10">
		 					<input type="submit" class="sub" value="提升排名" name="fresh">
		 					<input type="submit" class="sub" value="设为开始" name="start">
		 					<input type="submit" class="sub" value="设为暂停" name="pause">
		 					<input type="submit" class="sub" value="删除职位" name="delete">
		 				</td>
					</tr>
				</if>
				</table>
			</form>
			<!-- 简历名称盒子结束 -->
			<table class="page_table">
				<tr>
					<td colspan="2">
						<div class="page" style='width:400px'>
							<if value="!empty($pos)">
							{$page}
							</if>
						</div>
					</td>
				</tr>
			</table>


		</div>
		<!-- 右边盒子结束 -->
	</div>
	<!-- 内容大盒子结束 -->
<include file='__STATIC__/foot.html'/>
</body>
</html>